<%-- 
    Document   : logout
    Created on : Jun 10, 2012, 10:17:18 PM
    Author     : sai
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>logout page</title>
    </head>
    <body>
       <%
       try{               
       session.removeAttribute("username");
       out.println("<html><center><font size='7' color='red'>logged out succesfully . .");
       out.println("</font><br>");
       out.println("<font color='green' size='7'>click here<a href='index.html'>Go to Home</a></font>");
       out.println("</center></html>");
        }
       catch(Exception e){
           out.println(e);
       }
                          
       %>
    </body>
</html>
